// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com

// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global

/*
 * Ars Magna project, http://arsmagna.ru
 */

namespace PdfSharpCore.Pdf.IO;

/// <summary>
/// Determines how the PDF output stream is formatted.
/// Even all formats create valid PDF files,
/// only Compact or Standard should be used for production purposes.
/// </summary>
public enum PdfWriterLayout
{
    /// <summary>
    /// The PDF stream contains no unnecessary characters.
    /// This is default in release build.
    /// </summary>
    Compact,

    /// <summary>
    /// The PDF stream contains some superfluous line feeds,
    /// but is more readable.
    /// </summary>
    Standard,

    /// <summary>
    /// The PDF stream is indented to reflect the nesting
    /// levels of the objects. This is useful for analyzing
    /// PDF files, but increases the size of the file significantly.
    /// </summary>
    Indented,

    /// <summary>
    /// The PDF stream is indented to reflect the nesting
    /// levels of the objects and contains additional
    /// information about the PDFsharp objects. Furthermore
    /// content streams are not deflated. This
    /// is useful for debugging purposes only and increases
    /// the size of the file significantly.
    /// </summary>
    Verbose
}
